import Vue from 'vue'
import App from './App.vue'

import { Form ,Field , Button ,Cell , Switch , Checkbox ,Uploader ,Notify ,ActionSheet ,Toast} from 'vant';

import 'vant/lib/index.less'

import axios from 'axios'

axios.defaults.baseURL = 'http://localhost:81/'

Vue.prototype.$http = axios

Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Cell);
Vue.use(Switch);
Vue.use(Checkbox);
Vue.use(Uploader);
Vue.use(Notify);
Vue.use(ActionSheet);
Vue.use(Toast);

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app')
